<form id="form_gw" action="${base}/sys/gw/gw" method="post">
    <input name="gw.id" type="hidden" value="${(gw.id)!''}"/>
    <table style="width: 99.7%" class="tb tb-con">
        <col width="29.3%"/><col width="14.7%"/><col width="15.5%"/><col width="40.5%"/>
        <tr>
            <th align="right" style="color:#f45212;">名&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;称：</th>
            <td><input name="gw.mc" type="text" class="easyui-validatebox input-text"
                       <#--missingMessage="岗位名称不能为空！"-->
                       validType="remote['${base}/sys/gw/ajax_validate?gwId=${(gw.id)!}',{'validateField':'mc'},'岗位名称不能重复！']"
                       required="true" value="${(gw.mc)!''}"/></td>
            <th align="right">排&nbsp;&nbsp;&nbsp;序&nbsp;&nbsp;&nbsp;号：</th>
            <td><input name="gw.pxh" type="text" class="easyui-numberbox input-text"
                       data-options="min:1,max:1000000000" value="${(gw.pxh)!''}"/></td>
        </tr>
        <tr>
            <th align="right" style="color:#f45212;">包&nbsp;含&nbsp;角&nbsp;色：</th>
            <td><input id="gw_js" style="width:503.8px;" name="gw.jsList.id" type="text"  class="easyui-combobox"
                       <#--missingMessage="包含角色不能为空！"-->
                       data-options="url:'${base}/sys/js/jsmcList', valueField:'id',textField:'mc',editable:false,multiple:true,panelHeight:'200'"
                       required="true"/></td>
        </tr>
        <tr>
            <th align="right">任&nbsp;职&nbsp;要&nbsp;求：</th>
            <td colspan="3"><textarea rows="2" style="width:501.5px;" name="gw.rzyq" class="easyui-validatebox textarea"
                                      validType="maxLength[50]">${(gw.rzyq)!}</textarea></td>
        </tr>
        <tr>
            <th align="right">描&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;述：</th>
            <td colspan="3"><textarea rows="2" style="width:501.5px;" name="gw.ms" class="easyui-validatebox textarea"
                                      validType="maxLength[50]">${(gw.ms)!}</textarea></td>
        </tr>
    </table>
    <div style="padding:5px 0;text-align:right;padding-right:30px">
        <a href="#" id="btn_gw_save" class="easyui-linkbutton" iconcls="icon-save" plain="true" onclick="gw_save('${index}')">保存</a>
        <a href="#" id="btn_gw_cancel" class="easyui-linkbutton" iconcls="icon-cancel" plain="true" onclick="gw_cancel('${index}')">取消</a>
    </div>
</form>

